package com.project.XXXX.inter;

import java.util.List;
import java.util.Map;

import com.project.XXXX.model.tbl_ptjob;
import com.project.XXXX.model.tbl_ptjobWithBLOBs;
import com.project.XXXX.parameterType.PtJobByUserWithPage;

public interface tbl_ptjobMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(tbl_ptjobWithBLOBs record);

    int insertSelective(tbl_ptjobWithBLOBs record);

    tbl_ptjobWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(tbl_ptjobWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(tbl_ptjobWithBLOBs record);

    int updateByPrimaryKey(tbl_ptjob record);
    int getDiffStautsPtJobSize(Map map);
    List<tbl_ptjobWithBLOBs> SelectAll();
    List<tbl_ptjobWithBLOBs>  showByTypeandPlace(Map map);
    int showByTypeandPlaceCount(Map map);
    int getAllbyuserIdSize(String creatorid);
    List<tbl_ptjobWithBLOBs> SelectAllbyuserId(String creatorid);
    List<tbl_ptjobWithBLOBs>   getDiffStautsPtJob(Map map);
    List<tbl_ptjobWithBLOBs>    getPtJobbyUserWithPage(PtJobByUserWithPage PtJobByUserWithPage);
   // Integer SelectCount();
}